home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 4 / United Public Domain Gold 4.iso / tbag / tb034.dms / tb034.adf / Doc-Files / Qed.doc < prev    next >
Text File  |  1989-08-13  |  57KB  |  1,293 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      QED
  6.  
  7.                               AMIGA TEXT EDITOR
  8.  
  9.                      Copyright 1989 by Darren M. Greenwald
  10.  
  11.                               All rights reserved
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                                      QED
  18.  
  19.                               AMIGA TEXT EDITOR
  20.                                    
  21.  
  22.                      Copyright 1989 by Darren M. Greenwald
  23.  
  24.                               All rights reserved
  25.  
  26.                             Whats new as of 7/23/89
  27.                             -----------------------
  28.                                   Revision 0.19
  29.  
  30. 1.) An IMPORTANT BUG has been fixed in 0.18 which occurs when you edit a
  31. line, and then do a page up/down, cursor top/bottom window, or top/bottom
  32. of page.  The changes to the line were not updated properly - otherwise
  33. this version is like 0.18 in regards to new features.
  34.  
  35.  
  36.                             Whats new as of 7/20/89
  37.                             -----------------------
  38.                                   Revision 0.18
  39.  
  40. 1.) QED now supports a transparent line editing buffer which allows you to
  41. enter, and edit text at near full speed regardless of file size.  QED will
  42. use this temporary buffer when making changes to a line which is less then
  43. 1000 characters long.  This is a transparent operation, and requires
  44. nothing of the user.  The buffer is flushed when a new line is inserted,
  45. when the cursor is moved off the line, when a horizontal scroll is
  46. required, and before certain operations such as saving a file.
  47.  
  48. 2.) Cursor movement is now much faster when mark block mode is off. 
  49. Chances are that most users will not be able to notice the difference
  50. because cursor movement was already quite fast, however users of large
  51. bit-plane screens should notice faster performance.
  52.  
  53. 3.) Each text editing window can now have a unique current directory. 
  54. If you are using QGO to run QED, then you MUST use the latest version of
  55. QGO which passes its current directory to QED when opening new windows,
  56. and/or files.  Its important to note that when you open a new window with
  57. the NEW command, that the current directory lock will be inherited by the
  58. new window just like the window options, colors, etc.  It is left up to the
  59. user to keep track of the default directory of each window (the current
  60. directory is what will be displayed in the file requester if no path name
  61. is entered).
  62.  
  63. 4.) The printer handling code has now been reworked to send smaller chunks
  64. of text to the printer.device; this was primarly done to allow for a
  65. faster, and safer abort.  If you had any troubles aborting a print out
  66. before, this new code should help.
  67.  
  68.      The PRInt command now accepts a boolean TRUE/FALSE argument.  If TRUE,
  69. the user is not prompted with a requester before printing.  If FALSE, or
  70. ommitted, the verification requester is displayed.
  71.  
  72. 5.) There was a bug in the menu set-up code which could result in QED not
  73. recognizing some of the items in the pull-down menus.  This has
  74. (hopefully) been fixed.
  75.  
  76. 6.) You now have the option of using the ARP file requester; requires ARP
  77. library version 34 or greater.  This option can be set from the command
  78. mode.
  79.  
  80. 7.) The ALT keys are no longer automatically mapped to imitate the RIGHT
  81. AMIGA key press alternatives listed in the pull-down menus.  The problem
  82. with making this an automatic feature was that it was then difficult to
  83. enter any of the high character set which would normally be generated by
  84. using the ALT key.  In addition, automatic mapping of these keys consumed
  85. memory for a feature that not everyone wants/needs.  There is now a single
  86. command available which will map the ALT keys to imitate the RIGHT AMIGA
  87. key.
  88.  
  89.      The command is "XMAP"; this command requires no arguments, and may fail
  90. if there is not enough memory.
  91.  
  92. 8.) QED now allocates at least 16K of initial workspace when opening a
  93. file.  Previously QED would allocate a buffer just big enough to hold the
  94. file rounded out to an even 8K multiple.  This was primarily done to
  95. insure that a decent amount of work space is allocated when the file is
  96. opened as QED will attempt to reallocate a work space if you are inserting
  97. text, and the workspace is exhausted.
  98.  
  99. 9.) A variety of minor fixes, and some cleanup.
  100.  
  101. 10.) QED now supports some new keyboard mapping commands including the
  102. ability to quickly clear, or temporarily ignore groups of keyboard
  103. definitions.  A single command also allows you to reset the default key
  104. mapping assigned by QED upon startup.
  105.  
  106.  
  107. QED Copyright 1989 by Darren M. Greenwald.
  108.  
  109. QED is a SHAREWARE; freely distributable Amiga text editor.
  110.  
  111. Last revised 7/20/89
  112.  
  113.  
  114. General notes, comments, questions, and answers from the author of QED.
  115. -----------------------------------------------------------------------
  116.  
  117. Over the past few weeks I have received several questions which
  118. repeatedly keep coming up.  Rather then answer the same questions over, and
  119. over again, I have decided to use this file for this purpose.
  120.  
  121. -----
  122.  
  123. QUESTION - Why can't I use the LEFT AMIGA key in place of the RIGHT AMIGA
  124. key to select menu items?
  125.  
  126. ANSWER - The LEFT, and RIGHT AMIGA keys belong to the operating system. 
  127. Intercepting these keys, or otherwise changing their functions is NOT a
  128. recommended Amiga programming practice.  In fact we are likely to see much
  129. more use made of the LEFT AMIGA key by the operating system under version
  130. 1.4 of the operating system.  Intercepting the LEFT AMIGA key is sure to
  131. result in contention issues under 1.4.
  132.  
  133. Starting with beta version 0.14 of QED, the ALT keys are automatically
  134. mapped to imitate the RIGHT AMIGA key alternatives listed in the pull-down
  135. menus.  Prior to this version, the CTRL key was mapped to imitate the RIGHT
  136. AMIGA menu keys.  This is both a valid programming practice, and allows you
  137. to use either hand.
  138.  
  139. -----
  140.  
  141. QUESTION - How come LEFT AMIGA M/N don't work unless I have another screen
  142. open?
  143.  
  144. ANSWER - LEFT AMIGA M/N is an operating system feature which moves the
  145. Workbench screen to front & back.  It never does anything unless you have
  146. another screen open.  QED runs on the Workbench screen; not its own screen.
  147.  
  148. -----
  149.  
  150. QUESTION - How come I can't respond to QED's requesters using LEFT AMIGA V/B?
  151.  
  152. ANSWER - LEFT AMIGA V/B is an operating system feature which allows you
  153. to respond with a yes/no response to "AUTOREQUEST REQUESTERS" such as the
  154. type used for system requesters.
  155.  
  156. QED does not use Auto Requesters because I find them unattractive,
  157. and far too limited for the needs of the program.  Auto Requesters also
  158. do not allow for the use of string gadgets.
  159.  
  160. As stated above, the LEFT & RIGHT AMIGA keys belong to the operating
  161. system.  Application programs should not be intercepting, or otherwise
  162. fiddling with system capabilities - this is the kind of programming practice
  163. which often results in a program not working under later revisions of the
  164. operating system.
  165.  
  166. Re-read page 3 of your 1.2 enhancer manual (at the top labeled - Page
  167. 4-30:).  Note that this capability works for Autorequesters only; it was
  168. never intended to work for application specific requesters.
  169.  
  170. Therefore, I will not attempt to imitate such a feature until such time as
  171. it becomes an operating system feature.  In the mean time, use of the 'o',
  172. and 'c' keys is both easy, and rapidly becomes natural.  Once you become
  173. use to it, you'll wish every program made it so easy.
  174.  
  175. When a string gadget is active, it is not possible to obtain key press
  176. messages without a great deal of system fiddling; the proper way to respond
  177. to string requesters is with the RETURN key, and/or the other editing keys
  178. which string requesters recognize.
  179.  
  180. -----
  181.  
  182. QUESTION - The file requester appears to be missing file/sub-dir names?
  183.  
  184. ANSWER - File requesters vary significantly in the Amiga software world. 
  185. Some sort file names, some dont.  Some make you wait for the entire
  186. directory to be read, some dont.  Some separate the files from the
  187. sub-directories, some dont.  Etc...
  188.  
  189. There is really no "convention" as of yet.  Few people can agree on how a
  190. file requester should behave, and often users are rather confused by the
  191. issues involved (the kinds of issues which programmers can spend hours
  192. discussing).
  193.  
  194. No, QED's file requester is not missing file, or sub-directory names,
  195. however, the list of names is not immediately redisplayed until the user
  196. slides the proportional gadget.  Why?
  197.  
  198. Many Amiga file requesters still make you wait for the entire directory to
  199. be read before displaying anything, and some don't even allow you to enter
  200. a file, or path name until the entire directory has been read.  This is
  201. often painfully slow for floppy users.
  202.  
  203. Some requesters, including QED's, solve this problem by allowing you to
  204. select a file/sub-dir before the entire directory has been read.  However,
  205. it is my opinion that some programmers have not given this approach enough
  206. consideration.  The problem is that some requesters will continually, or
  207. periodically redisplay the list of file/sub-dir names.  Often this occurs
  208. just as you are ready to click on a name, or just after you have finished
  209. moving the proportional gadget to display the name you are looking for.
  210.  
  211. The net result is that you end up having to wait for the entire directory
  212. to be read anyway as the list of names often changes faster then you can
  213. read, or select.  Worse, it takes additional time to continually redisplay
  214. the list of names meaning it actually takes longer to read the entire
  215. directory!
  216.  
  217. While it is often "cute" to watch the list of file/sub-dir names
  218. continually change, it is also a pointless waste of time.  At best the user
  219. gets lucky, and can click on a name before the list is updated.  Often it
  220. is just not worth even trying, and the user gets to wait even longer for
  221. the entire directory to be read.
  222.  
  223. -----
  224.  
  225. QUESTION - QED does not recognize a font change using NEWFONT?
  226.  
  227. ANSWER - The only program which "properly" adjusts the system font is
  228. Preferences.
  229.  
  230. QED has been successfully tested with Preferences, Setfont2, and FF by
  231. MicroSmiths, Inc.
  232.  
  233. There is however a bug in Setfont2 which is apparent system wide in string
  234. gadgets.  This is evidenced by 2 different fonts being used in string
  235. gadgets; 1 when the string gadget is active, and another when inactive. 
  236. This is a bug in Setfont2, and cannot be corrected by QED, however it
  237. appears to be relatively harmless.
  238.  
  239. -----
  240.  
  241. QUESTION - Why do I have to pay the registration fee for the command mode
  242.            and ARexx macro documentation?
  243.  
  244. ANSWER - Why do you ask?  If you have not paid the registration fee, then
  245. you have made no real investment in QED.  On the other hand...
  246.  
  247. Registered users have made an investment of money, and time.  Registered
  248. users deserve more then non-registered users.
  249.  
  250. I have made an investment of many thousands of hours learning how to
  251. program, and many thousands of hours working on QED.  I have also made an
  252. investment of many thousands of dollars for equipment, books, development
  253. tools, etc.
  254.  
  255. Need I say anymore?  Next question....
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                              User's documentation
  262.                        Last revised 7/18/89  -  QED 0.18
  263.  
  264.      QED may be freely distributed.  It may not be distributed in any
  265. commercial product, shareware product, or commercial publication without
  266. permission.  It is permissible to release QED as part of a public domain
  267. collection, or on a telecommunication service as long as no "special
  268. charge" is made for this program; "special charge" does not include
  269. "reasonable" charges for replication of the media, or standard charges for
  270. use of the system. 
  271.  
  272.      The intent of the above should be clear - I did the work, and while
  273. you are allowed to freely distribute the program, you may not profit from
  274. it.
  275.  
  276.      Any archived files which the author distributes MUST be left intact. 
  277. If you do distribute this program, I insist that you distribute all the
  278. files including any notices.
  279.  
  280.      QED is SHAREWARE - the registration fee is $20, and in return you will
  281. receive complete documentation describing QED's command line language,
  282. ARexx interfacing, keyboard mapping, etc.
  283.  
  284.  
  285.      Darren M. Greenwald
  286.      2511 W. Sunflower Av. #D-16
  287.      Santa Ana, CA 92704
  288.  
  289.      GEnie E-MAIL address: DMG
  290.  
  291.  
  292. DISCLAIMER:
  293. ---------------------------------------------------------------------
  294.  
  295.      In no way can the author be held responsible for any damages, loss of
  296. anticipated profits, or any other perceived loss related to using this
  297. program.  The user assumes the entire risk, and responsibility when using
  298. this program.
  299.  
  300.  
  301.  
  302. TABLE OF CONTENTS
  303. ---------------------------------------------------------------------
  304.  
  305. Section i    .................. Introduction
  306. Section ii   .................. Registration
  307.  
  308. Section 1.0  .................. Starting QED
  309. Section 2.0  .................. QED Requesters
  310. Section 3.0  .................. Opening files
  311. Section 4.0  .................. Saving files
  312. Section 5.0  .................. Opening new windows
  313. Section 6.0  .................. Window options
  314. Section 7.0  .................. Positioning the cursor
  315. Section 8.0  .................. Basic editing keys
  316. Section 9.0  .................. Deleting text
  317. Section 10.0 .................. Block operations
  318. Section 11.0 .................. Search & Replace
  319. Section 12.0 .................. Formatting text
  320. Section 13.0 .................. Indenting text
  321. Section 14.0 .................. Miscellaneous features
  322. Section 15.0 .................. Command line mode, and ARexx macros
  323. Section 16.0 .................. Editing binary characters
  324. Section 17.0 .................. Printing
  325. Section 18.0 .................. Making QED resident (and QGO)
  326.  
  327.  
  328. Section i                INTRODUCTION TO QED
  329. =====================================================================
  330.  
  331.      QED is a fast, and easy to use general-purpose "text-editor".  There
  332. are no built-in limits on the number of windows which can be opened, file
  333. size, line length, or number if lines per file other then any memory
  334. limitations.  Memory is dynamically allocated, and deallocated through out
  335. the program, and memory is used in an efficient manner.  As you enter
  336. text, additional memory is automatically allocated as needed.
  337.  
  338.      QED allows you to work with multiple text editing buffers in the form
  339. of separate text editing windows.  Each new window requires a minimal
  340. amount of memory.  Data can be shared between text editing windows via
  341. cut, copy, and paste.  There is no significant performance penalty for
  342. working with multiple text editing windows.  Each text editing window can
  343. have unique editings options, settings, colors, etc.
  344.  
  345.      QED will work with non-proportional system fonts of any size with the
  346. understanding that fonts wider then Topaz 9, and/or taller then Topaz 11
  347. may be too large for use on a 640x200 Workbench screen.  This is because
  348. QED adjusts the size of the pull-down menus, and requesters to use your
  349. system font.  FastText (Copyright 1988 by Darren M. Greenwald) is built
  350. into the program.  "FastText" is a blitter based fast text rendering
  351. routine which will speed up rendering of fonts of any height, and from 4-16
  352. pixels wide.  QED also uses your system's keymap to decode the
  353. alpha-numeric keys (dead-keys too), and will work properly with over-sized
  354. Workbench screens.
  355.  
  356.      QED has extremely fast search, and replace capabilities.  A
  357. lightening fast formatter allows you to format a paragraph, or marked
  358. block text.  In fact many of QED's features can be limited to a marked
  359. block of text.  A full ARexx interface, and keyboard mapping is supported
  360. for the advanced users, while the full Intuition interface makes QED easy
  361. to use.
  362.  
  363.  
  364. Section ii                    REGISTRATION
  365. =====================================================================
  366.  
  367.      QED is SHAREWARE.  The registration fee is $20, and should be sent to:
  368.  
  369.                              Darren M. Greenwald
  370.  
  371.                          2511 W. Sunflower Av. #D-16
  372.                              Santa Ana, CA 92704
  373.  
  374.  
  375.  
  376.      Please include your name, address, and if you would like, a GEnie
  377. E-MAIL address where you can be reached.  The registration fee may be
  378. increased in the future.
  379.  
  380.      I can also be contacted on GEnie, E-MAIL address "DMG".  You are also
  381. invited to stop by the Amiga Programmer's RoundTable (PRO-AM) page 670.
  382.  
  383.      I would like to think that $20 is a very reasonable fee for software of
  384. this caliber.  The SHAREWARE method of distribution is less expensive then
  385. standard commercial distribution, and allows me to distribute updates
  386. quickly, and inexpensively.
  387.  
  388.      Registered owners will also receive:
  389.  
  390.      1.) Documentation describing the built in command line language, and
  391.          advanced features which are only accessable via the command line
  392.          language (e.g. insert multiple lines).
  393.  
  394.      2.) Documentation explaining how to write ARexx macros for use with QED.
  395.  
  396.      3.) Documentation explaining how to configure QED via an ARexx
  397.          start-up macro.
  398.  
  399.      4.) Documentation explaining how to create macros which are
  400.          automatically executed when a file is opened (based on the file
  401.          name's extension).
  402.  
  403.      5.) Documentation explaining how to configure the keyboard, and
  404.          function keys to execute QED commands, DOS commands, and/or ARexx
  405.          macros.
  406.  
  407.      6.) A disk containing the latest release of QED, and a number of
  408.          example macros.
  409.  
  410.      These capabilities allow you to extend QED's features, and create a
  411. customized working environment.  If you don't already have ARexx, I highly
  412. recommend you purchase it.  ARexx is a copyrighted program by William S.
  413. Hawes.
  414.  
  415.      Unfortunately, I will not be able to send free software updates to
  416. registered users due to the cost of mailing, however, software updates will
  417. be made available to registered users for a nominal fee to cover mailing
  418. and material costs.
  419.  
  420.  
  421. Section 1.0                   STARTING QED
  422. =====================================================================
  423.  
  424.      It is assumed the user knows how to install QED on their system, or
  425. working disk.  QED is a stand alone program, and is easily copied to any
  426. destination directory; no special support libraries are required.  A small
  427. utility program called "QGO" is also provided which is needed if QED is
  428. run in its resident mode.
  429.  
  430.      By default, QED opens a single, un-named text editing window upon
  431. start up.  You may begin entering text immediately if you like, or open an
  432. existing file for editing.  ARexx owners have the option of creating a
  433. start up macro which will be automatically executed when QED is started. 
  434. All of QED's options, and capabilities can be accessed using the macro
  435. capability, so this is an excellent way to create a configuration file to
  436. set the various options up the way that you want.  Only registered users
  437. will receive documentation describing QED's built in command language, and
  438. how to write ARexx macros for use with QED. 
  439.  
  440.  
  441. Section 2.0                QED REQUESTERS
  442. =====================================================================
  443.  
  444.      At times QED will ask for a response from you in the form of a
  445. requester.  All QED requesters are opened in draggable windows, and the
  446. position of all requesters is remembered for the duration of the editing
  447. session.  Therefore you can place the requester windows where you want
  448. them, and they will be opened in the same position where you last left
  449. them.  The size of all requesters are adjusted (width & height) to use your
  450. system font.
  451.  
  452.  
  453.      The File Requester -
  454.      ------------------
  455.  
  456.      Amiga users should be relatively familiar with file requesters,
  457.      however it is worth noting the following:
  458.  
  459.      The QED file requester can display up to 8 files, or sub-directory
  460.      names.  Directory entries are sorted in non-case senstive order, and
  461.      displayed such that sub-directories take precedence over file names.
  462.  
  463.      The QED file requester does not make you wait for the directory to be
  464.      read before you can enter a file name, or change directories.
  465.  
  466.      QED's file requester makes it EASY to select a file, or sub-directory
  467.      name before the entire directory has been read.  First, you can
  468.      enter a new path name, or a file name before the entire directory
  469.      has been read.  Second, QED's file requester does not continually,
  470.      or periodically change the list of names on you until you drag the
  471.      scroll bar.  This means that you can actually single, or double click
  472.      on a name before the entire directory has been read, and not have
  473.      to worry about the list of names changing on you faster then you
  474.      can move the mouse! 
  475.  
  476.      The string gadget labeled "File:" is automatically activated, so it is
  477.      possible in some cases to enter a file name from the keyboard, and
  478.      press the RETURN key without ever touching the mouse.
  479.  
  480.      This file requester dynamically allocates, and deallocates memory as
  481.      needed for the directories; there is no built-in limit on the number
  482.      of directory entries that this requester can handle.
  483.  
  484.      A gadget labeled "TOGGLE:" allows you to toggle between a list of
  485.      devices in your system, and the directory list.  There is no built-in
  486.      limit on the number of devices which this requester can handle, and 
  487.      device names of up to 31 characters in length do not present a problem
  488.      as they do with some requesters.
  489.  
  490.      You may use the ARP file requester if you prefer (this option can be
  491.      set from the command mode, and requires the arp.library version 34 or
  492.      greater).
  493.  
  494.  
  495.      Input requesters -
  496.      ----------------
  497.  
  498.      Input requesters expect you to respond by typing in a number, or a
  499.      string of text.  Input requesters automatically activate the string
  500.      gadgets so often it is possible to respond by entering the
  501.      number or string(s), and pressing the RETURN key.  Of course you can
  502.      also respond using the mouse to select OK, or CANCEL.  If none of the 
  503.      string gadgets are activated, you can respond with the 'o' or 'c' keys 
  504.      on the keyboard.
  505.  
  506.      Notices & Queries -
  507.      -----------------
  508.  
  509.      Notices can only be responded to with an "OK" response, while queries
  510.      allow you to respond with an "OK" or "CANCEL" response.  If you
  511.      prefer, you can also respond to these requesters using the 'o' or 'c'
  512.      keys on the keyboard
  513.  
  514.  
  515. Section 3.0                   OPENING FILES
  516. =====================================================================
  517.  
  518.      QED allows you to OPEN, or INSERT existing files.  The difference is
  519. that opening a file replaces the text editing buffer, while inserting a
  520. file 'inserts' the file below the cursor position.  When opening a file,
  521. you will be prompted with a requester if you have made any changes to the
  522. text buffer being replaced.
  523.  
  524.      It is also possible to specify one, or more file names to be
  525. automatically opened in separate text editing windows when starting QED
  526. such as:
  527.  
  528. 1> run qed hello.c read_me "df0:my file"
  529.  
  530.      In the above example, QED will attempt to open the files named
  531. "hello.c", "read_me", and "df0:my file" in separate text editing windows. 
  532. If any of the above files are not found, then QED assumes you want to
  533. create a file of the same name, and opens an empty text editing window.
  534.  
  535.      QED is not suitable for use as a binary file editor because some
  536. binary characters are stripped, and converted to other characters when
  537. opening, or inserting a file.
  538.  
  539. Binary value         Action taken
  540. --------------------------------------------------------
  541. 11-255               Valid characters.  No stripping or conversion.
  542.  
  543. 10                   Linefeed - treated as an end of line character.
  544.  
  545. 9                    Tab - If "TAB = SPACES" under the "Options" menu is
  546.                      turned ON, then hard tabs are expanded to spaces
  547.                      when a file is opened, or inserted based upon the
  548.                      windows tab size setting which can be any value from
  549.                      1-8.  If "TAB = SPACES" is OFF (the default setting),
  550.                      then hard tabs are left in a file when opened, or
  551.                      inserted.
  552.  
  553. 1-8                  Valid characters.  No stripping or conversion.
  554.  
  555. 0                    Stripped at load time.
  556.  
  557.  
  558. Selecting "OPEN", or "INSERT" file under the "Project" will result in the
  559. file requester being displayed.
  560.  
  561.  
  562. Section 4.0                   SAVING FILES
  563. =====================================================================
  564.  
  565.      QED allows you to save the entire text editing buffer, or a marked
  566. block of text using the "SAVE AS" option under the "Project" menu.  The
  567. "SAVE AS" option causes the file requester to be displayed.  Named files
  568. can be quickly saved (if any changes have been made to the file) using the
  569. "SAVE" option under the "Project" menu.
  570.  
  571.      In order to save a marked block of text, highlight the block (see the
  572. section described later on how to mark blocks of text), and simply select
  573. "SAVE AS".  When mark block mode is on, it is implied that you want to save
  574. just the marked block of text.  When mark block mode is off, it is implied
  575. that you want to save the entire text editing buffer to a file.
  576.  
  577.      You have the option of creating a backup file under the "Options"
  578. menu.  When turned on, QED will rename any file which is going to be
  579. over-written as 'qed.backup' before saving the file.  This allows you an
  580. opportunity to recover the over-written file should you over-write a file
  581. by mistake.
  582.  
  583.      You also have the option of saving text to a file in append mode under
  584. the "Options" menu.  This capability is often handy when you want to save
  585. multiple blocks of text to a single file.  When this option is turned on,
  586. all text written to a file will be appended to the end of the file.  If the
  587. file does not exist, it will be created.
  588.  
  589.  
  590. Section 5.0                OPENING A NEW WINDOW
  591. =====================================================================
  592.  
  593.      QED supports multiple text editing buffers in the form of an unlimited
  594. number of text editing windows.  This is advantageous because you can see
  595. what each buffer holds, and edit any buffer.  There is no built-in limit
  596. on the number of windows which can be opened other then that which the
  597. operating system can handle, and memory limitations.  There is also no
  598. significant performance penalty for opening multiple windows other then
  599. that which is typical of the operating system when managing multiple
  600. windows on the Workbench screen.
  601.  
  602.      In order to open a new window, select "NEW" under the "Project" menu. 
  603. Note that the pull-down menus are accessable, and shared by all text
  604. editing windows.  It is also important to note that menu selections affect
  605. the window from which the menu item was selected.  For example, selecting
  606. "QUIT" from a window causes only that window to be closed.  When the last
  607. window is closed, QED is automatically terminated.
  608.  
  609.      The general layout of a QED text editing window is depicted by the
  610. diagram below:
  611.  
  612.        ------ File name           -------  Line/Column cursor position
  613.        |                          |
  614. ----------------------------------------------------------
  615. | QED - Untitled              L:     1  C:    20   |  |  |- Front/Back
  616. ----------------------------------------------------------
  617. |                                                      |_|- Top of file
  618. |                                                      |_|- Page up
  619. |                                                        |
  620. |                                                        |
  621. |                      Text editing                      |
  622. |                        work area                       |
  623. |                                                        |
  624. |                                                        |
  625. |                                                       _|
  626. |                                                      |_|-Page down
  627. |                                                      |_|-End of file
  628. |                                                      | |-Window size
  629. ----------------------------------------------------------
  630.  
  631.      You can define the default window size that QED will use to open a
  632. window upon startup, as well as any NEW windows opened via the pull-down
  633. menus.  This capability requires the use of the SETENV function provided as
  634. part of the 1.3 operating system.
  635.  
  636.      In order to use this function, assign ENV: to the RAM: disk, and
  637. use the SETENV command such as -
  638.  
  639. 1>setenv qedsize "0 20 300 100"
  640.  
  641.      Where the four parameters are left edge, top edge, width, and height
  642. in pixels.  If you enter any erroneous arguments, the window is opened to
  643. the full size of the WB screen a few pixels below the title bar.  Ideally
  644. you would make the assignment of the environment variable "qedsize" as part
  645. of your startup-sequence.
  646.  
  647.  
  648.  
  649. Section 6.0                WINDOW OPTIONS
  650. =====================================================================
  651.  
  652.      Each text editing window has its own private text editing buffer, and
  653. private characteristics including:
  654.  
  655.      Under the "Tools" menu
  656.      ----------------------
  657.  
  658.      Pen and paper colors -
  659.  
  660.           Pen, and paper colors can be toggled between 4 preset color
  661.      combinations by selecting "COLOR" under the "Tools" menu.  These
  662.      color combinations have been selected to also work properly using a
  663.      one bit-plane Workbench screen such as is possible using the
  664.      1008x800 monitor.
  665.  
  666.           From the command line mode it is also possible to set a specific
  667.      preset color combination, or any pen/paper color combination of your
  668.      choice.  Pen/Paper colors can be set from 0-255 should newer Amigas
  669.      offer more on-screen colors.
  670.  
  671.  
  672.      Tab size -
  673.  
  674.           The tab size can be set individually from 1-8 for each window
  675.      under the "Tools" menu, but by default is set to the proper value of
  676.      eight (8).  The tab size is used when calculating how many spaces to
  677.      insert when using soft tabs, and affects how hard tabs are displayed.
  678.  
  679.  
  680.      Right margin -
  681.  
  682.           The right margin can be set individually for each window under
  683.      the "Tools" menu.  The right margin setting is used by the formatter,
  684.      and word-wrap routine.  By default, the right margin is set to 75, but
  685.      can be set to any value from 8-10000.
  686.  
  687.           As an alternative, you can set the right margin to a value of one
  688.      (1) in which case the right margin is variable based on window, and
  689.      font width.  In this case the right margin is equivalent to the
  690.      maximum number of columns visible in the window.
  691.  
  692.      Show end of lines -
  693.  
  694.           Selecting "SHOW EOL" under the "Tools" menu toggles visible
  695.      end of line characters on/off.  The actual character used to represent
  696.      end of line characters can be set from the command mode.
  697.  
  698.      Show hard tabs -
  699.  
  700.          Selecting "SHOW TABS" under the "Tools" menu toggles visible
  701.      hard tabs on/off.  The actual character used to represent hard tabs
  702.      can be set from the command mode.
  703.  
  704.      Under the "Options" menu
  705.      ------------------------
  706.  
  707.      Overstrike mode -
  708.  
  709.           QED allows you to enter text in insert, or overstrike mode.
  710.  
  711.      Word wrap -
  712.  
  713.           QED will perform "simple" word-wrap when text is entered past the
  714.      right margin.  This feature should not be confused with the more
  715.      complex real-time paragraph reformatters typical of many word-
  716.      processors.
  717.  
  718.      Case sensitive search mode -
  719.  
  720.           QED allows you to search for text in case, or non-case sensitive
  721.      search modes.  When case sensitive mode is turned off, the alpha
  722.      characters (a-z and A-Z) are treated as equivalent.
  723.  
  724.           For example, you could enter "cat" as a search string, and
  725.      "cat", "CAT", "Cat", etc., would all be found when searching for
  726.      text, and/or when searching & replacing text.
  727.  
  728.      Append saves -
  729.  
  730.           This option allows you to save text to a file in append mode in
  731.      which case any text written to an existing file will be appended to
  732.      the end of the file.  This capability is often useful when marking
  733.      multiple blocks of text to be saved to single a file.
  734.  
  735.      Backup files -
  736.  
  737.           This option will cause any file which is going to be over-written
  738.      by a save operation to be renamed as "qed.backup" before saving the
  739.      file.  This allows you an opportunity to recover a file which is
  740.      inadvertently replaced by a save operation.  
  741.  
  742.      Mark line mode -
  743.  
  744.           When this option is turned on, you can only mark whole lines
  745.      of text to be cut, copied, saved, erased, formatted, replaced,
  746.      and printed.  The block, and project insert functions are also
  747.      affected.  When this options is turned on, a block of text which is
  748.      inserted from the clipboard, or a file will be inserted as a group of
  749.      lines above the cursor position.  This mode will most likely be
  750.      preferred by those working with line oriented text (e.g., programmers).
  751.  
  752.           When this option is turned off, you can mark a block of text
  753.      from any line/column position to any line/column position.  The block,
  754.      and project insert functions are also affected.  When this option is
  755.      turned off, a block of text which is inserted from the clipboard, or a
  756.      file will be inserted at the cursor position.  This mode will most
  757.      likely be preferred by those working with document oriented text.
  758.  
  759.  
  760.      Free form editing -
  761.  
  762.           This option affects the cursor's behavior.  When turned on, the
  763.      cursor can be positioned past the end of line allowing you to enter
  764.      text beyond the end of a line in which case spaces are automatically
  765.      inserted as needed.  This mode will most likely be preferred by those
  766.      working with line oriented text (e.g., programmers).
  767.  
  768.           When turned off, the cursor cannot be moved past the end of line.
  769.      The right cursor key is also affected; if you cursor right past the
  770.      end of a line, the cursor is wrapped to the first character of the
  771.      next line.  This mode will most likely be preferred by those working
  772.      with document oriented text.
  773.  
  774.      Insert tabs -
  775.  
  776.           This option affects how the TAB key behaves.  When turned off,
  777.      the tab key moves the cursor to the next tab stop.  When turned on,
  778.      the TAB key can be used to insert hard tabs, or an equivalent number
  779.      of spaces (see "Tabs equal to spaces" below).
  780.  
  781.      Tabs equal to spaces -
  782.  
  783.           This option affects how the TAB key behaves.  When turned on,
  784.      soft tabs (spaces) are used instead of hard tabs (binary 9).  This
  785.      option is checked for when you press the TAB key, when indenting
  786.      lines, and when a file is opened, or inserted (allowing you to de-tab
  787.      files at load time).
  788.  
  789.      When opening a new window, these characterstics are inherited from the
  790. window from which the "NEW" command was issued.  It is also possible to
  791. write macros which are automatically executed when a file is opened.  This
  792. capability is extremely useful for automatically adjusting the various
  793. window options listed above to suit the type of file you are working on.
  794.  
  795. For example, you might load a "C" source code file in one window, and have
  796. a macro which automatically sets your tab size to three (3), turns mark
  797. line mode on, turns free-form editing on, etc.
  798.  
  799. In another window you might then load a document file, and have a macro
  800. which automatically sets your tab size to five (5), turns mark line mode
  801. off, turns free-form editing off, etc.
  802.  
  803.  
  804. Section 7.0                CURSOR POSITIONING
  805. =====================================================================
  806.  
  807.      Like most text editors, QED allows you to insert, or over-strike text
  808. at the cursor position.  Perhaps the easiest way to position the cursor is
  809. with the mouse using the "point & click" method.  Of course the keyboard
  810. can be used to position the cursor using the cursor keys.
  811.  
  812.      Text scrolling is allowed in all directions, and can be accomplished
  813. via the cursor keys, or mouse using the "point & drag" method.
  814.  
  815.      It is also possible to go to a specific line number (see the "Cursor"
  816. menu), or mark & go to a spot.  Command line mode users have more cursor
  817. positioning tools available such as the ability to go to a specific line,
  818. and column position.
  819.  
  820.  
  821. Cursor key   |  Result
  822. ---------------------------------------------------------------------------
  823.              |
  824. Up           | Move the cursor up a single line.
  825.              |
  826. Down         | Move the cursor down a single line.
  827.              |
  828. Left         | Move the cursor left a single character.  If the cursor is
  829.              | at the beginning of a line, the cursor is wrapped up to the
  830.              | end of the previous line.
  831.              |
  832. Right        | Move the cursor right a single character.
  833.              |
  834. SHIFTED      | Move the cursor up a single window page.
  835. Up           |
  836.              |
  837. SHIFTED      | Move the cursor down a single window page.
  838. Down         |
  839.              |
  840. SHIFTED      | Move the cursor to the previous word.
  841. Left         |
  842.              |
  843. SHIFTED      | Move the cursor to the next word.
  844. Right        |
  845.              |
  846. ALT          | Move the cursor to the first line in the text editing
  847. Up           | buffer.
  848.              |
  849. ALT          | Move the cursor to the last line in the text editing buffer.
  850. Down         |
  851.              |
  852. ALT          | Move the cursor to the beginning of the line.
  853. Left         |
  854.              |
  855. ALT          | Move the cursor to the end of the line.
  856. Right        |
  857.              |
  858. CTRL         | Move the cursor to the top of the window.
  859. Up           |
  860.              |
  861. CTRL         | Move the cursor to the bottom of the window.
  862. Left         |
  863. ---------------------------------------------------------------------------
  864.  
  865.  
  866. Section 8.0                BASIC EDITING KEYS
  867. =====================================================================
  868.  
  869.  
  870. Keypress     |   Result
  871. ---------------------------------------------------------------------------
  872.              |
  873. RETURN       | Splits the line at the cursor position.  If the cursor
  874.              | is positioned beyond the end of the line, a new line is 
  875.              | inserted.
  876.              |
  877. ENTER        | Inserts a new line with AUTO-INDENT.
  878.              |
  879. DELETE       | Deletes the character under the cursor.
  880.              |
  881. BACKSPACE    | Deletes the character to the left of the cursor.  If the 
  882.              | cursor is on the beginning of a line, the BACKSPACE key
  883.              | can be used to join the line with the previous line by
  884.              | effectively deleting the previous end-of-line character.
  885.              |
  886. TAB          | Moves the cursor to the next tab stop.  The tab size by 
  887.              | default is set to the proper tab value of 8, but can be
  888.              | set individually for each window.  You also have the option
  889.              | under the "Options" menu of having the tab key insert a
  890.              | sufficient number of spaces at the cursor position to move
  891.              | the cursor to the next tab stop, or to insert a hard tab.
  892.              |
  893. ---------------------------------------------------------------------------
  894.  
  895.  
  896. Section 9.0                DELETING TEXT
  897. =====================================================================
  898.  
  899.      At times you may want to delete larger pieces of text then is
  900. practical using the BACKSPACE, and DELETE keys described above.  QED
  901. provides a number of tools for deleting text listed under the "Edit" menu.
  902.  
  903.      Delete line -
  904.  
  905.           The entire line on which the cursor resides is deleted.
  906.  
  907.      Delete to end of line -
  908.  
  909.           Deletes all text from the cursor position to the end of the line.
  910.  
  911.      Delete word -
  912.  
  913.           Deletes the word on which the cursor resides.
  914.  
  915.      Undelete -
  916.  
  917.           Text which has been deleted using any of the above 3 functions is
  918.      copied to a 256 byte private backup buffer (one buffer per editing
  919.      window).  The last bit of deleted text (line, word, or end of line)
  920.      can be restored using the undelete command.
  921.  
  922.           QED will allow you to work with lines longer then 256 characters,
  923.      however to insure that you have an opportunity to undelete text, the
  924.      delete tools listed above will not work if the amount of text to be
  925.      deleted exceeds 256 characters.  In this case use the block cut, or
  926.      erase commands.
  927.  
  928.  
  929. Section 10.0                BLOCK OPERATIONS
  930. =====================================================================
  931.  
  932.      QED allows you to mark a block of text to be cut, or copied to a
  933. clipboard area which is used by all the text editing windows.  In addition,
  934. many of the QED commands can be restricted to a marked block of text (e.g.,
  935. SAVE AS, REPLACE, PRINT, FORMAT, etc.).
  936.  
  937.      Mark block mode can be toggled on/off from the pull-down menus under
  938. the "Edit" menu, or can be toggled on/off by "double-clicking" the left
  939. mouse button over the same row/column position.
  940.  
  941.      Mark block mode is transparent; you can continue to edit text like
  942. usual, and the pull-down menus are always accessable.  In order to mark a
  943. block of text, simply toggle mark block mode on, and use the cursor keys,
  944. or mouse to highlight a range of text.
  945.  
  946.      As indicated above, you have the option under the "Options" menu of
  947. toggling between line mark mode (always marks whole lines), or free mark
  948. mode (allows you to mark from/to any row/column position).
  949.  
  950.      Both the CUT, and COPY block tools under the "Edit" menu copy
  951. the marked block of text to the clipboard, however CUT block also deletes
  952. the text.
  953.  
  954.      In some cases you may want to cut a block of text, but you don't
  955. want it copied to the clipboard.  In this case use the ERASE tool under the
  956. "Project" menu.  ERASE will erase all text in a text editing window, and
  957. free any up any memory that it can, however if mark block mode is on, the
  958. ERASE function will only erase the marked block.  In either case you will
  959. be prompted with a requester because any erased text cannot be restored.
  960.  
  961.      INSERT block under the "Edit" menu inserts whatever is in the clipboard
  962. at the cursor position.  If MARK LINE MODE is ON, the contents of clipboard
  963. will be inserted as a group of lines above the cursor position.  If MARK
  964. LINE MODE is OFF, the contents of the clipboard will be inserted at the
  965. cursor position.
  966.  
  967.  
  968. Section 11.0                SEARCH & REPLACE
  969. =====================================================================
  970.  
  971.      The SEARCH, REPLACE, and HUNT tools under the "Tools" menu allow you
  972. to search for a phrase, replace a phrase, and quickly repeat the last
  973. search and/or replace operation.
  974.  
  975.      As indicated above, QED supports both case, and non-case sensitive
  976. search modes, and can be optionally set for each text editing window.
  977.  
  978.      Both SEARCH, and REPLACE will prompt you for strings using a
  979. requester.  Both commands will search forward from the cursor position for
  980. a matching search string, and position the cursor on the first occurrance
  981. of the search string if a match was found.
  982.  
  983.      When using the REPLACE command, you will also be prompted with a
  984. message in the title bar of the window such as:
  985.  
  986.      Replace? (Y)es (N)o (G)lobal (M)arked (Q)uit
  987.  
  988.      You may respond using the upper, or lower case keys on the keyboard
  989.      where (?) causes the following action to be taken:
  990.  
  991.      (Y)es    - Yes, replace the string with the search string, and
  992.                 continue searching.
  993.  
  994.      (N)o     - No, don't replace the string, and continue searching.
  995.  
  996.      (G)lobal - Replace all occurrences of the search string forward from
  997.                 the cursor position.
  998.  
  999.      (M)arked - Replace all occurrences of the search string found within
  1000.                 a marked block.  In order to use this option, you must
  1001.                 first mark a block of text.
  1002.  
  1003.      (Q)uit   - Quit searching.  You may also click in the window with
  1004.                 the LEFT mouse button to abort the search.
  1005.  
  1006.      In order to search, and replace on 'end-of-line' characters, simply
  1007. use the CTRL-J character in your search, and replace strings to denote
  1008. 'end-of-line' characters.  CTRL-J is equivalent to a binary value of 10;
  1009. also known as a LINEFEED.  Other control key sequences as listed in Section
  1010. 16.0 below may also be used in your search strings as needed.
  1011.  
  1012.      The HUNT command can be used to repeat the last SEARCH, and/or REPLACE
  1013. operation.  When using the HUNT command, searches will skip the character
  1014. under the cursor to avoid finding duplicate matches of a string.
  1015.  
  1016.      
  1017. Section 12.0                FORMATTING TEXT
  1018. =====================================================================
  1019.  
  1020.      The FORMAT tool under the "Tools" menu allows you to format a
  1021. paragraph, or a marked block of text.
  1022.  
  1023.      If mark block mode is off, then FORMAT searches forward from the line
  1024. on which the cursor resides for two (2) consecutive end of line characters.
  1025.  The following illustration may be helpful in better understand how the
  1026. FORMAT tool works.
  1027.  
  1028. Let's suppose the original piece of text looks like this:
  1029. --------------------------------------------------------
  1030.  
  1031. This is some text to demonstrate a point.
  1032.  
  1033. This is some more text.
  1034.  
  1035.  
  1036. This is how the text is evaluated by the FORMAT command:
  1037. -------------------------------------------------------
  1038.            _________________________________Cursor position column 11.
  1039.           |
  1040.           |          _______________________Wrapping will occur here.
  1041.           |         |
  1042.           |         |    ___________________Right margin is 25.
  1043.           |         |   |
  1044.           |         |   |        ___________Column 33 is > right margin.
  1045.           |         |   |       |
  1046. This is some text to demonstrate a point. - This line of text is terminated
  1047.                                           - by 2 end-of-line characters.
  1048. This is some more text
  1049.  
  1050.  
  1051. This is the result after using the FORMAT command:
  1052. -------------------------------------------------
  1053.  
  1054. This is some text to
  1055. demonstrate a point.
  1056.  
  1057. This is some more text.
  1058.  
  1059.  
  1060.      FORMAT will never insert, or delete any spaces.  What it will do is
  1061. replace spaces with end-of-line characters, and vice-versa in an attempt to
  1062. cause the affected text to fit in the right margin setting with word-wrap.
  1063.  
  1064.  
  1065. Section 13.0                INDENTING TEXT
  1066. =====================================================================
  1067.  
  1068.      Programmers who work with block oriented languages frequently find
  1069. themselves indenting sections of source code left, and right.  Often this
  1070. can mean manually deleting, and/or inserting spaces or tabs.  QED provides
  1071. a tool which allows you to easily indent a line, or a range of lines to the
  1072. next left or right tab position.
  1073.  
  1074.      Under the "Tools" menu, you have the option of indenting the current
  1075. line left, or right to the next tab stop, or indenting multiple lines.  If
  1076. you choose the INDENT MULTIPLE tool, you will be prompted with a message in
  1077. the window's title bar such as:
  1078.  
  1079.      Indent? (R)ight (L)eft (S)kip ([) (]) (Q)uit
  1080.  
  1081.      You may respond using the upper, or lower case keys on the keyboard
  1082.      where (?) causes the following action to be taken:
  1083.  
  1084.      (R)ight - Indent line right, and move cursor to the next line.
  1085.  
  1086.      (L)eft  - Indent line left, and move cursor to the next line.
  1087.  
  1088.      (S)kip  - Skip the line, and move cursor to the next line.
  1089.  
  1090.      ([)     - Indent line left, and don't move the cursor.
  1091.  
  1092.      (])     - Indent line right, and don't move the cursor.
  1093.  
  1094.      (Q)uit  - Abort multiple indent utility.  You may also click in the
  1095.                window with the LEFT mouse button to quit.
  1096.  
  1097.  
  1098. The INDENT MULTIPLE tool is extremely useful when you wish to change the
  1099. indent of a range of lines.  Place the cursor at the top line of the range
  1100. you want to change, and repeatedly use the (R), or (L) keys.  You can also
  1101. skip lines you dont want changed, and adjust each line individually using
  1102. the ([), and (]) keys.
  1103.  
  1104. You have the option of indenting lines using hard tabs, or soft tabs
  1105. (spaces).  If "TAB = SPACES" is turned ON under the "Options" menu, soft
  1106. tabs will be used when indenting lines.  If "TAB = SPACES" is turned OFF,
  1107. then hard tabs will be used.
  1108.  
  1109.  
  1110. Section 14.0             MISCELLANEOUS FEATURES
  1111. =====================================================================
  1112.  
  1113.      QED allows you to assign any built in QED command, ARexx macro, and
  1114. any DOS command to ANY key when pressed alone (including the FUNCTION
  1115. keys), or to ANY key when pressed in conjunction with the CTRL, ALT, or
  1116. SHIFT keys.  In order to use this capability you will need the Registered
  1117. User's Documentation.
  1118.  
  1119.      The ALT keys can be mapped to imitate the RIGHT AMIGA key menu
  1120. alternatives listed in the pull-down menus using a single command from
  1121. the command mode, or in an ARexx macro.  For those of you who are
  1122. uncomfortable with using the RIGHT AMIGA key, this allows you to use
  1123. either the left, or right ALT keys.
  1124.  
  1125.      Even though there is no "NEW CLI" command in the pull-down menus, the
  1126. CTRL/HELP key combination is by default mapped to open a new CLI window.
  1127.  
  1128.      If you own Brian Jackson's ACK terminal program for the Amiga, you can
  1129. mark blocks of text to be sent to ACK via a message port just as if you had
  1130. typed the text directly, or sent an ASCII file.  In order to do this,
  1131. simply mark a block of text that you want to send, and press CTRL "`". 
  1132. Remember that if this does not suit your taste, you can remap the keyboard
  1133. as mentioned above.  Only the Amiga makes it possible!
  1134.  
  1135.      Brian Jackson can be reached on GEnie: E-MAIL address "B.J."
  1136.  
  1137.      The ERASE function under the "Project" menu will clear, and reset the
  1138. text editing buffer as described under section 10.0 above.
  1139.  
  1140.      The JOIN command under the "Edit" menu will join the line on which the
  1141. cursor resides with the previous line.  Joining lines can also be
  1142. accomplished by back spacing over the previous end of line character as
  1143. described under section 8.0 above.
  1144.  
  1145.      The MARK SPOT, and GOTO SPOT commands under the "Edit" menu can be
  1146. used to mark spot, and quickly return to the same position later, however
  1147. the spot may be lost when using the global replace capabilities, or if you
  1148. delete the text corresponding to the marked spot.
  1149.  
  1150.      QED has a built-in keyboard repeat limiting feature which will only
  1151. limit repeating key press messages if QED cannot keep up (e.g., during
  1152. heavy multi-tasking).  If you have ever used an Amiga program in which you
  1153. inadvertently held down a repeating key such as the BACKSPACE key too long,
  1154. and watched your last 10 minutes of work be erased, you will appreciate
  1155. this feature.
  1156.  
  1157.      You can quickly move between multiple windows opened with the NEW
  1158. command by using the "NEXT", and "PREV" items under the "Project" menu.  If
  1159. you have more then one window open, these two items will bring the next, or
  1160. previous window to front, and activate as if you had clicked in it with the
  1161. mouse. 
  1162.  
  1163.  
  1164. Section 15.0         THE COMMAND LINE MODE & AREXX MACROS
  1165. =====================================================================
  1166.  
  1167.      The "CMD LINE" command under the "Tools" menu causes the command line
  1168. window to be opened (if its not already), and assigns the command line
  1169. window to the text editing window from which this command was issued.  As
  1170. an alternative, you can use the ESC key.  The command line mode allows you
  1171. to enter commands, and execute/debug ARexx macros.  Any command which can
  1172. be performed using the pull-down menus, or keyboard can be accomplished
  1173. from the command line mode, and much more...
  1174.  
  1175.      The command line mode allows you to perform all of the functions
  1176. available in the pull-down menus, execute ARexx macros, and more.  In order
  1177. to use this capability you will need the Registered User's Documentation. 
  1178.  
  1179.      The "RUN MACRO" command under the "Tools" menu will list, and allow you
  1180. to execute all ARexx macros in your REXX: directory.
  1181.  
  1182.  
  1183. Section 16.0            EDITING BINARY CHARACTERS
  1184. =====================================================================
  1185.  
  1186.      QED is a text editor, so binary file editing is not fully supported,
  1187. however you can open, display, edit, and save most of the binary character
  1188. set other then binary 0.  This capability should provide sufficient for
  1189. those who would like to insert ANSI, or printer device control sequences in
  1190. their files.
  1191.  
  1192.      QED utilizes your system font, and it is worth noting that AMIGA fonts
  1193. generally do not contain character definitions for the complete binary
  1194. character set 0-255.  Most system fonts only have character imagery for
  1195. binary 32-255, and possibly a smaller subset of characters.  Undefined
  1196. characters are displayed using a default image (generally a box).
  1197.  
  1198.      In order to compensate, QED will display the characters "A" through
  1199. "_" in inverted imagery to represent binary 1-31.
  1200.  
  1201.      You can also enter these characters from the keyboard by holding down
  1202. the CTRL key, and pressing the following keys on the keyboard:
  1203.  
  1204.      a = binary 1                  q = binary 17
  1205.      b = binary 2                  r = binary 18
  1206.      c = binary 3                  s = binary 19
  1207.      d = binary 4                  t = binary 20
  1208.      e = binary 5                  u = binary 21
  1209.      f = binary 6                  v = binary 22
  1210.      g = binary 7                  w = binary 23
  1211.      h = binary 8                  x = binary 24
  1212.      i = binary 9  (Hard tab)      y = binary 25
  1213.      j = binary 10 (Line feed)     z = binary 26
  1214.      k = binary 11                 [ = binary 27
  1215.      l = binary 12                 \ = binary 28
  1216.      m = binary 13 (Cairrage ret)  ] = binary 29
  1217.      n = binary 14                 ^ = binary 30 (CTRL SHIFTED 6)
  1218.      o = binary 15                 _ = binary 31 (CTRL SHIFTED -)
  1219.      p = binary 16
  1220.  
  1221.      The above sequences rely on the standard operating system routines to
  1222. decode the keyboard, however you can assign key values to any keyboard
  1223. combination of your choice from the command mode.  Of course you can also
  1224. assign whole strings of text which may include binary control sequences to
  1225. a key press combination.
  1226.  
  1227.  
  1228. Section 17.0                  PRINTING
  1229. =====================================================================
  1230.  
  1231.      QED allows you to print the entire contents of a windows text editing
  1232. buffer, or a marked block of text (if a block is marked).  Simply select
  1233. PRINT from the pull down menus, and respond to the requester verifying that
  1234. you want to print.  Printing occurs as a background task, and does not
  1235. interfere with any other QED features.  You may even quit QED while
  1236. printing is still in process.  In this case QED will release as much
  1237. memory as it can, and will hang around in a wait state until the printer is
  1238. done before fully exiting.
  1239.  
  1240.      If you select PRINT again while the printer is busy, you will be
  1241. prompted with a requester asking if you want to cancel the current print
  1242. job.  If you elect to cancel printing, printing will stop as soon as
  1243. possible.  If you are using a printer buffer, then of course it may be
  1244. necessary to turn the buffer, or printer off to flush the buffer. 
  1245.  
  1246.  
  1247. Section 18.0             MAKING QED RESIDENT
  1248. =====================================================================
  1249.  
  1250.      QED can be started in "resident" mode by including "-r" (no quotes) as
  1251. the first argument on the command line.  This mode will force QED to hang
  1252. around in memory until awakened by another small utility program provided
  1253. with QED.
  1254.  
  1255.      Normally when you load QED from disk, or from ram disk, QED will exit
  1256. when the last text editing window is closed freeing up all the memory used
  1257. by QED.  If you run, and exit QED frequently, this means that QED must be
  1258. reloaded each time.  Many users place commonly used programs in a ram disk;
  1259. this avoids the delays of reloading a program from floppy, or hard drive,
  1260. but still means that the program must be copied from ram disk to another
  1261. section of memory before being run.
  1262.  
  1263.      QED's resident mode allows you to keep a "single" copy of QED hanging
  1264. around in memory at all times.  This is more efficient then run QED from a
  1265. ram disk, and faster then reloading QED from a floppy, or hard drive.
  1266.  
  1267.      Remember that QED allows you to open an unlimited number of text
  1268. editing windows, that there is no significant performance penalty for
  1269. opening multiple windows, and that this is much more efficient then running
  1270. multiple copies of QED to edit separate files.  You can still run QED as
  1271. separate tasks if desired, however only one copy of QED can be made
  1272. resident, and in most cases one copy of QED is sufficient to handle your
  1273. multi-file editing needs.  
  1274.  
  1275.      If QED is started in resident mode using the "-r" flag, by default no
  1276. text editing windows, or files will be opened.  You can still include a
  1277. list of file names following this command line flag to be automatically
  1278. loaded into separate text editing windows.  See section 3.0 for details on
  1279. specifying a list of files to be opened as CLI arguments.
  1280.  
  1281.      A small utility program has been provided called "QGO" which will send
  1282. the necessary commands to a resident QED task to open new QED windows,
  1283. files, etc.  In fact "QGO" behaves much like QED in that you can specify a
  1284. list of files names to be automatically opened in separate text editing
  1285. windows.  If no file names are included as CLI arguments, "QGO" will send
  1286. the necessary commands to QED to open a single, un-named text editing
  1287. window.
  1288.  
  1289.      Finally "QGO" can also send a command to QED to turn resident mode
  1290. off, in which case QED will be fully exited once the last window is closed.
  1291.  In order to do this, simple include "-q" as the first CLI argument when
  1292. using the "QGO" program.
  1293.